<?php
namespace Wap\Controllers;
class WapController extends ControllerBase
{

    public function indexAction()
    {
        _p();
        //_p($this->view);
         $this->view->test_arr = array('1','2','3');
         //$test_arr = array('1','2','3');
         _p($this->view->test_arr );
         // echo $this->view->render('adminlogin/index');
         // $this->view->viewEnginePath('');
         //$config = include APP_PATH . "/config/config.php";
         global $_CONFIG;
        //  $view->setViewsDir($config->b2c->viewsDir);
         $this->view->setViewsDir($_CONFIG->wap->viewsDir);
    }
    public function loginAction()
    {
         //_p($this->view);
         // echo $this->view->render('adminlogin/index');
    }
}

